export default function({dataArr,lisrArr}){
    return {
        title: {
            text: '2020秋季期末考试成绩分布',
            textStyle: {
                color: '#bcdcff'
            },
            top:10,
            left:'center'
        },
        grid: {
            top: 60,
            left: 'center',
            width:'90%',
            height:'75%',
        },
        xAxis: {
            type: 'category',
            data: lisrArr,
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#bcdcff',
                    fontSize: 15
                }
            },
        },
        yAxis: {
            type: 'value',
            min:0,
            max:600,
            axisLabel: {
                show: true,
                textStyle: {
                    color: '#bcdcff',
                    fontSize: 15
                }
            },
        },
        series: [{
            data:dataArr,
            type: 'bar',
            barWidth: 50,
            itemStyle: {
                borderRadius: [50, 50, 0, 0]
            },
        }]
    }
}